package com.timeriver.repository;

import com.timeriver.domain.entity.Model;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface ModelRepository extends JpaRepository<Model, String>,
        JpaSpecificationExecutor<Model> {

    Model findByNameAndDisabledEquals(String name, Integer disabled);
}
